Platform Explorer / Nuxeo Platform 2023.9

Component org.nuxeo.ecm.core.management.contribs

Resolution Order

152
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.management.contribs">

  <extension target="org.nuxeo.ecm.core.management.CoreManagementComponent"
    point="serviceDefinition">

    <administrableService id="org.nuxeo.ecm.instance.availability"
      name="nuxeoInstance">
      <label>Nuxeo Instance</label>
      <description>
        Indicates if the Nuxeo Instance is available or not.
      </description>
    </administrableService>

    <administrableService id="org.nuxeo.ecm.administrator.message"
      name="adminMessage">
      <label>Administrator message</label>
      <description>
        Displays a message from administrator on all pages
      </description>
      <initialState>passive</initialState>
    </administrableService>

    <administrableService id="org.nuxeo.ecm.smtp" name="smtpService">
      <label>SMTP services</label>
      <description>
        Indicates if the Nuxeo instance can send e-mails
      </description>
    </administrableService>

  </extension>

  <extension target="org.nuxeo.ecm.core.management.CoreManagementComponent"
    point="probes">

    <probe name="administrativeStatus"
      class="org.nuxeo.ecm.core.management.probes.AdministrativeStatusProbe">
      <label>Local Instance availability</label>
      <description>Test if local Nuxeo Instance is available</description>
    </probe>

    <probe name="runtimeStatus"
      class="org.nuxeo.ecm.core.management.statuses.RuntimeStartedProbe">
      <label>Runtime started probe</label>
      <description>Test if the runtime is started or not</description>
    </probe>

    <probe name="repositoryStatus"
      class="org.nuxeo.ecm.core.management.statuses.RepositoryStatusProbe">
      <label>Repository started probe</label>
      <description>Test the repository by fetching the root document</description>
    </probe>

  </extension>

   <extension target="org.nuxeo.ecm.core.management.CoreManagementComponent" point="healthCheck">
     <probe name="runtimeStatus" enabled="true"/>
     <probe name="repositoryStatus" enabled="true"/>
  </extension>

</component>